package org.star.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author : 一叶浮萍归大海
 * @Date: 2024/1/3 12:55
 * @Description:
 */
@FeignClient(name = "stockService",path = "/stock")
public interface StockFeignService12000 {

    /**
     * 扣减库存
     * @return
     */
    @GetMapping("/reduceStock")
    public String reduceStock();

}
